export const ruleTypes = [
  { name: '目录', value: 'dir' },
  { name: '菜单', value: 'menu' },
  { name: '方法', value: 'function' },
  { name: '按钮', value: 'button' },
]

export const validList = [
  { value: 1, label: '生效' },
  { value: 0, label: '失效' },
]

export const params = {
  project_id: 1,
  page: 1,
  pagesize: 10,
}

export const map = {
  initType: 'tianditu',
  zoom: 18,
  center: [37.467294, 114.913504],
  options: {
    zoomSnap: 0.5,
  },
  mapTypes: {
    google: [
      'http://google.intelirri.com/google/lyrs=y&hl=en&x={x}&y={y}&z={z}',
      'http://t0.tianditu.gov.cn/cia_w/wmts?tk=ecc4efeba82345383cdfda67f5154cf0&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cia&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}',
    ],
    tianditu: [
      'http://t0.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=ecc4efeba82345383cdfda67f5154cf0',
      'http://t0.tianditu.gov.cn/cia_w/wmts?tk=ecc4efeba82345383cdfda67f5154cf0&SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cia&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}',
    ],
  },
}

export const cells = [
  {
    id: '1',
    serialno: '0110.0007.2027000724',
    name: '1-1',
    argstart: '0.0',
    argend: '60.0',
    spstart: '1',
    spend: '20',
    disstart: '0.0',
    disend: '50.5',
    descri: null,
    idx: '1',
    color: 'rgba(225, 183, 225, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '1',
    serialno: '0110.0007.2027000724',
    name: '1-2',
    argstart: '0.0',
    argend: '60.0',
    spstart: '21',
    spend: '45',
    disstart: '53.0',
    disend: '113.6',
    descri: null,
    idx: '2',
    color: 'rgba(204, 142, 231, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '1',
    serialno: '0110.0007.2027000724',
    name: '1-3',
    argstart: '0.0',
    argend: '60.0',
    spstart: '46',
    spend: '59',
    disstart: '116.2',
    disend: '149.0',
    descri: null,
    idx: '3',
    color: 'rgba(155, 48, 194, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '2',
    serialno: '0110.0007.2027000724',
    name: '2-1',
    argstart: '60.0',
    argend: '120.0',
    spstart: '1',
    spend: '15',
    disstart: '0.0',
    disend: '37.9',
    descri: null,
    idx: '1',
    color: 'rgba(173, 238, 198, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '2',
    serialno: '0110.0007.2027000724',
    name: '2-2',
    argstart: '60.0',
    argend: '120.0',
    spstart: '16',
    spend: '24',
    disstart: '40.4',
    disend: '60.6',
    descri: null,
    idx: '2',
    color: 'rgba(98, 221, 153, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '2',
    serialno: '0110.0007.2027000724',
    name: '2-3',
    argstart: '60.0',
    argend: '120.0',
    spstart: '25',
    spend: '39',
    disstart: '63.1',
    disend: '98.5',
    descri: null,
    idx: '3',
    color: 'rgba(63, 181, 77, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '2',
    serialno: '0110.0007.2027000724',
    name: '2-4',
    argstart: '60.0',
    argend: '120.0',
    spstart: '40',
    spend: '59',
    disstart: '101.0',
    disend: '149.0',
    descri: null,
    idx: '4',
    color: 'rgba(37, 160, 35, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '3',
    serialno: '0110.0007.2027000724',
    name: '3-1',
    argstart: '120.0',
    argend: '180.0',
    spstart: '1',
    spend: '28',
    disstart: '0.0',
    disend: '70.7',
    descri: null,
    idx: '1',
    color: 'rgba(235, 170, 225, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '3',
    serialno: '0110.0007.2027000724',
    name: '3-2',
    argstart: '120.0',
    argend: '180.0',
    spstart: '29',
    spend: '40',
    disstart: '73.2',
    disend: '101.0',
    descri: null,
    idx: '2',
    color: 'rgba(226, 108, 237, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '3',
    serialno: '0110.0007.2027000724',
    name: '3-3',
    argstart: '120.0',
    argend: '180.0',
    spstart: '41',
    spend: '52',
    disstart: '103.5',
    disend: '131.3',
    descri: null,
    idx: '3',
    color: 'rgba(195, 74, 239, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '3',
    serialno: '0110.0007.2027000724',
    name: '3-4',
    argstart: '120.0',
    argend: '180.0',
    spstart: '53',
    spend: '59',
    disstart: '133.8',
    disend: '149.0',
    descri: null,
    idx: '4',
    color: 'rgba(147, 4, 176, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '4',
    serialno: '0110.0007.2027000724',
    name: '4-1',
    argstart: '300.0',
    argend: '360.0',
    spstart: '1',
    spend: '29',
    disstart: '0.0',
    disend: '73.2',
    descri: null,
    idx: '1',
    color: 'rgba(25, 149, 133, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '4',
    serialno: '0110.0007.2027000724',
    name: '4-2',
    argstart: '300.0',
    argend: '360.0',
    spstart: '30',
    spend: '59',
    disstart: '75.8',
    disend: '149.0',
    descri: null,
    idx: '2',
    color: '#66b1ff',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '5',
    serialno: '0110.0007.2027000724',
    name: '5-1',
    argstart: '180.0',
    argend: '200.0',
    spstart: '1',
    spend: '6',
    disstart: '0.0',
    disend: '15.2',
    descri: null,
    idx: '1',
    color: 'rgba(159, 193, 239, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '5',
    serialno: '0110.0007.2027000724',
    name: '5-2',
    argstart: '180.0',
    argend: '200.0',
    spstart: '7',
    spend: '18',
    disstart: '17.7',
    disend: '45.5',
    descri: null,
    idx: '2',
    color: 'rgba(87, 161, 221, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '5',
    serialno: '0110.0007.2027000724',
    name: '5-3',
    argstart: '180.0',
    argend: '200.0',
    spstart: '19',
    spend: '30',
    disstart: '48.0',
    disend: '75.8',
    descri: null,
    idx: '3',
    color: 'rgba(99, 135, 245, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '5',
    serialno: '0110.0007.2027000724',
    name: '5-4',
    argstart: '180.0',
    argend: '200.0',
    spstart: '31',
    spend: '42',
    disstart: '78.3',
    disend: '106.0',
    descri: null,
    idx: '4',
    color: 'rgba(63, 73, 193, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '5',
    serialno: '0110.0007.2027000724',
    name: '5-5',
    argstart: '180.0',
    argend: '200.0',
    spstart: '43',
    spend: '50',
    disstart: '108.6',
    disend: '126.2',
    descri: null,
    idx: '5',
    color: 'rgba(31, 98, 205, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '5',
    serialno: '0110.0007.2027000724',
    name: '5-6',
    argstart: '180.0',
    argend: '200.0',
    spstart: '51',
    spend: '59',
    disstart: '128.8',
    disend: '149.0',
    descri: null,
    idx: '6',
    color: 'rgba(6, 50, 181, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '6',
    serialno: '0110.0007.2027000724',
    name: '6-1',
    argstart: '200.0',
    argend: '220.0',
    spstart: '1',
    spend: '8',
    disstart: '0.0',
    disend: '20.2',
    descri: null,
    idx: '1',
    color: 'rgba(206, 235, 242, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '6',
    serialno: '0110.0007.2027000724',
    name: '6-2',
    argstart: '200.0',
    argend: '220.0',
    spstart: '9',
    spend: '20',
    disstart: '22.7',
    disend: '50.5',
    descri: null,
    idx: '2',
    color: 'rgba(171, 244, 236, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '6',
    serialno: '0110.0007.2027000724',
    name: '6-3',
    argstart: '200.0',
    argend: '220.0',
    spstart: '21',
    spend: '32',
    disstart: '53.0',
    disend: '80.8',
    descri: null,
    idx: '3',
    color: 'rgba(112, 217, 244, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '6',
    serialno: '0110.0007.2027000724',
    name: '6-4',
    argstart: '200.0',
    argend: '220.0',
    spstart: '33',
    spend: '45',
    disstart: '83.3',
    disend: '113.6',
    descri: null,
    idx: '4',
    color: 'rgba(61, 224, 213, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '6',
    serialno: '0110.0007.2027000724',
    name: '6-5',
    argstart: '200.0',
    argend: '220.0',
    spstart: '46',
    spend: '59',
    disstart: '116.2',
    disend: '149.0',
    descri: null,
    idx: '5',
    color: 'rgba(6, 173, 167, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '7',
    serialno: '0110.0007.2027000724',
    name: '7-1',
    argstart: '220.0',
    argend: '240.0',
    spstart: '1',
    spend: '10',
    disstart: '0.0',
    disend: '25.2',
    descri: null,
    idx: '1',
    color: 'rgba(170, 230, 185, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '7',
    serialno: '0110.0007.2027000724',
    name: '7-2',
    argstart: '220.0',
    argend: '240.0',
    spstart: '11',
    spend: '20',
    disstart: '27.8',
    disend: '50.5',
    descri: null,
    idx: '2',
    color: 'rgba(96, 234, 172, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '7',
    serialno: '0110.0007.2027000724',
    name: '7-3',
    argstart: '220.0',
    argend: '240.0',
    spstart: '21',
    spend: '30',
    disstart: '53.0',
    disend: '75.8',
    descri: null,
    idx: '3',
    color: 'rgba(39, 228, 137, 0.89)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '7',
    serialno: '0110.0007.2027000724',
    name: '7-4',
    argstart: '220.0',
    argend: '240.0',
    spstart: '31',
    spend: '40',
    disstart: '78.3',
    disend: '101.0',
    descri: null,
    idx: '4',
    color: 'rgba(37, 191, 150, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '7',
    serialno: '0110.0007.2027000724',
    name: '7-5',
    argstart: '220.0',
    argend: '240.0',
    spstart: '41',
    spend: '50',
    disstart: '103.5',
    disend: '126.2',
    descri: null,
    idx: '5',
    color: 'rgba(11, 149, 117, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '7',
    serialno: '0110.0007.2027000724',
    name: '7-6',
    argstart: '220.0',
    argend: '240.0',
    spstart: '51',
    spend: '59',
    disstart: '128.8',
    disend: '149.0',
    descri: null,
    idx: '6',
    color: 'rgba(7, 103, 44, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '8',
    serialno: '0110.0007.2027000724',
    name: '8-1',
    argstart: '240.0',
    argend: '260.0',
    spstart: '1',
    spend: '15',
    disstart: '0.0',
    disend: '37.9',
    descri: null,
    idx: '1',
    color: 'rgba(241, 182, 234, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '8',
    serialno: '0110.0007.2027000724',
    name: '8-2',
    argstart: '240.0',
    argend: '260.0',
    spstart: '16',
    spend: '25',
    disstart: '40.4',
    disend: '63.1',
    descri: null,
    idx: '2',
    color: 'rgba(227, 151, 242, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '8',
    serialno: '0110.0007.2027000724',
    name: '8-3',
    argstart: '240.0',
    argend: '260.0',
    spstart: '26',
    spend: '40',
    disstart: '65.7',
    disend: '101.0',
    descri: null,
    idx: '3',
    color: 'rgba(185, 95, 237, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '8',
    serialno: '0110.0007.2027000724',
    name: '8-4',
    argstart: '240.0',
    argend: '260.0',
    spstart: '41',
    spend: '59',
    disstart: '103.5',
    disend: '149.0',
    descri: null,
    idx: '4',
    color: 'rgba(153, 0, 255, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '9',
    serialno: '0110.0007.2027000724',
    name: '9-1',
    argstart: '260.0',
    argend: '280.0',
    spstart: '1',
    spend: '20',
    disstart: '0.0',
    disend: '50.5',
    descri: null,
    idx: '1',
    color: 'rgba(140, 179, 221, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '9',
    serialno: '0110.0007.2027000724',
    name: '9-2',
    argstart: '260.0',
    argend: '280.0',
    spstart: '21',
    spend: '40',
    disstart: '53.0',
    disend: '101.0',
    descri: null,
    idx: '2',
    color: 'rgba(106, 139, 239, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '9',
    serialno: '0110.0007.2027000724',
    name: '9-3',
    argstart: '260.0',
    argend: '280.0',
    spstart: '41',
    spend: '59',
    disstart: '103.5',
    disend: '149.0',
    descri: null,
    idx: '3',
    color: 'rgba(52, 91, 191, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '10',
    serialno: '0110.0007.2027000724',
    name: '10-1',
    argstart: '280.0',
    argend: '300.0',
    spstart: '1',
    spend: '15',
    disstart: '0.0',
    disend: '37.9',
    descri: null,
    idx: '1',
    color: 'rgba(38, 125, 21, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '10',
    serialno: '0110.0007.2027000724',
    name: '10-2',
    argstart: '280.0',
    argend: '300.0',
    spstart: '16',
    spend: '35',
    disstart: '40.4',
    disend: '88.4',
    descri: null,
    idx: '2',
    color: 'rgba(32, 50, 193, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
  {
    id: '10',
    serialno: '0110.0007.2027000724',
    name: '10-3',
    argstart: '280.0',
    argend: '300.0',
    spstart: '36',
    spend: '59',
    disstart: '90.9',
    disend: '149.0',
    descri: null,
    idx: '3',
    color: 'rgba(230, 53, 18, 1)',
    kml: null,
    ports: [0],
    ctl_type: 1,
    created_at: null,
  },
]

export const awc = [
  {
    id: '1',
    lat: '37.46744515',
    lng: '114.9130629',
    residual_water_content: '0.417770085',
    saturated_water_content: '0.084923192',
    awc: '0.332846893',
    awc600: '199.71 ',
  },
  {
    id: '2',
    lat: '37.46754246',
    lng: '114.9127029',
    residual_water_content: '0.420142747',
    saturated_water_content: '0.080536',
    awc: '0.339606746',
    awc600: '203.76 ',
  },
  {
    id: '3',
    lat: '37.46760593',
    lng: '114.912468',
    residual_water_content: '0.416809909',
    saturated_water_content: '0.086399052',
    awc: '0.330410857',
    awc600: '198.25 ',
  },
  {
    id: '4',
    lat: '37.46765722',
    lng: '114.9122782',
    residual_water_content: '0.417810118',
    saturated_water_content: '0.08553624',
    awc: '0.332273879',
    awc600: '199.36 ',
  },
  {
    id: '5',
    lat: '37.46770135',
    lng: '114.9121149',
    residual_water_content: '0.419111395',
    saturated_water_content: '0.084136543',
    awc: '0.334974852',
    awc600: '200.98 ',
  },
  {
    id: '6',
    lat: '37.46774082',
    lng: '114.9119689',
    residual_water_content: '0.419636145',
    saturated_water_content: '0.081873195',
    awc: '0.33776295',
    awc600: '202.66 ',
  },
  {
    id: '7',
    lat: '37.46813255',
    lng: '114.9122383',
    residual_water_content: '0.417278518',
    saturated_water_content: '0.085187313',
    awc: '0.332091205',
    awc600: '199.25 ',
  },
  {
    id: '8',
    lat: '37.46805565',
    lng: '114.9123586',
    residual_water_content: '0.41997813',
    saturated_water_content: '0.081239178',
    awc: '0.338738953',
    awc600: '203.24 ',
  },
  {
    id: '9',
    lat: '37.46796967',
    lng: '114.9124931',
    residual_water_content: '0.414336661',
    saturated_water_content: '0.090493716',
    awc: '0.323842945',
    awc600: '194.31 ',
  },
  {
    id: '10',
    lat: '37.46786973',
    lng: '114.9126494',
    residual_water_content: '0.415390222',
    saturated_water_content: '0.088555243',
    awc: '0.326834978',
    awc600: '196.10 ',
  },
  {
    id: '11',
    lat: '37.46774606',
    lng: '114.9128429',
    residual_water_content: '0.417224744',
    saturated_water_content: '0.082395641',
    awc: '0.334829103',
    awc600: '200.90 ',
  },
  {
    id: '12',
    lat: '37.46755646',
    lng: '114.9131395',
    residual_water_content: '0.41762326',
    saturated_water_content: '0.085416652',
    awc: '0.332206608',
    awc600: '199.32 ',
  },
  {
    id: '13',
    lat: '37.46764019',
    lng: '114.9132592',
    residual_water_content: '0.416811231',
    saturated_water_content: '0.086645655',
    awc: '0.330165576',
    awc600: '198.10 ',
  },
  {
    id: '14',
    lat: '37.46789921',
    lng: '114.9130618',
    residual_water_content: '0.416478652',
    saturated_water_content: '0.086966557',
    awc: '0.329512095',
    awc600: '197.71 ',
  },
  {
    id: '15',
    lat: '37.46806816',
    lng: '114.9129331',
    residual_water_content: '0.412339687',
    saturated_water_content: '0.095845199',
    awc: '0.316494488',
    awc600: '189.90 ',
  },
  {
    id: '16',
    lat: '37.46820469',
    lng: '114.9128291',
    residual_water_content: '0.4185511',
    saturated_water_content: '0.083386917',
    awc: '0.335164183',
    awc600: '201.10 ',
  },
  {
    id: '17',
    lat: '37.46832216',
    lng: '114.9127396',
    residual_water_content: '0.417322418',
    saturated_water_content: '0.086006655',
    awc: '0.331315764',
    awc600: '198.79 ',
  },
  {
    id: '18',
    lat: '37.46842721',
    lng: '114.9126596',
    residual_water_content: '0.415236562',
    saturated_water_content: '0.089967673',
    awc: '0.325268889',
    awc600: '195.16 ',
  },
  {
    id: '19',
    lat: '37.46858927',
    lng: '114.9131818',
    residual_water_content: '0.4158612',
    saturated_water_content: '0.088754276',
    awc: '0.327106925',
    awc600: '196.26 ',
  },
  {
    id: '20',
    lat: '37.46846873',
    lng: '114.913212',
    residual_water_content: '0.41857698',
    saturated_water_content: '0.083237239',
    awc: '0.335339741',
    awc600: '201.20 ',
  },
  {
    id: '21',
    lat: '37.46833395',
    lng: '114.9132457',
    residual_water_content: '0.417028548',
    saturated_water_content: '0.086001441',
    awc: '0.331027107',
    awc600: '198.62 ',
  },
  {
    id: '22',
    lat: '37.46817729',
    lng: '114.9132848',
    residual_water_content: '0.416412271',
    saturated_water_content: '0.087720418',
    awc: '0.328691853',
    awc600: '197.22 ',
  },
  {
    id: '23',
    lat: '37.46798344',
    lng: '114.9133333',
    residual_water_content: '0.417576253',
    saturated_water_content: '0.085135245',
    awc: '0.332441008',
    awc600: '199.46 ',
  },
  {
    id: '24',
    lat: '37.46768624',
    lng: '114.9134076',
    residual_water_content: '0.416100021',
    saturated_water_content: '0.087002312',
    awc: '0.329097709',
    awc600: '197.46 ',
  },
  {
    id: '25',
    lat: '37.46768905',
    lng: '114.9135668',
    residual_water_content: '0.415262046',
    saturated_water_content: '0.088884325',
    awc: '0.326377721',
    awc600: '195.83 ',
  },
  {
    id: '26',
    lat: '37.46798859',
    lng: '114.9136245',
    residual_water_content: '0.418168621',
    saturated_water_content: '0.084394938',
    awc: '0.333773683',
    awc600: '200.26 ',
  },
  {
    id: '27',
    lat: '37.46818396',
    lng: '114.9136622',
    residual_water_content: '0.417749946',
    saturated_water_content: '0.084953764',
    awc: '0.332796182',
    awc600: '199.68 ',
  },
  {
    id: '28',
    lat: '37.46834185',
    lng: '114.9136926',
    residual_water_content: '0.418451901',
    saturated_water_content: '0.082965621',
    awc: '0.33548628',
    awc600: '201.29 ',
  },
  {
    id: '29',
    lat: '37.46847768',
    lng: '114.9137188',
    residual_water_content: '0.418288308',
    saturated_water_content: '0.083971187',
    awc: '0.334317121',
    awc600: '200.59 ',
  },
  {
    id: '30',
    lat: '37.46859917',
    lng: '114.9137422',
    residual_water_content: '0.414646371',
    saturated_water_content: '0.091535063',
    awc: '0.323111308',
    awc600: '193.87 ',
  },
  {
    id: '31',
    lat: '37.46845571',
    lng: '114.914273',
    residual_water_content: '0.413026002',
    saturated_water_content: '0.093744709',
    awc: '0.319281293',
    awc600: '191.57 ',
  },
  {
    id: '32',
    lat: '37.46834794',
    lng: '114.9141988',
    residual_water_content: '0.41541029',
    saturated_water_content: '0.09070194',
    awc: '0.32470835',
    awc600: '194.83 ',
  },
  {
    id: '33',
    lat: '37.46822743',
    lng: '114.914116',
    residual_water_content: '0.41568137',
    saturated_water_content: '0.089282136',
    awc: '0.326399234',
    awc600: '195.84 ',
  },
  {
    id: '34',
    lat: '37.46808736',
    lng: '114.9140196',
    residual_water_content: '0.413810637',
    saturated_water_content: '0.093439775',
    awc: '0.320370863',
    awc600: '192.22 ',
  },
  {
    id: '35',
    lat: '37.46791402',
    lng: '114.9139004',
    residual_water_content: '0.415975044',
    saturated_water_content: '0.086312798',
    awc: '0.329662246',
    awc600: '197.80 ',
  },
  {
    id: '36',
    lat: '37.46764829',
    lng: '114.9137176',
    residual_water_content: '0.416400841',
    saturated_water_content: '0.08737475',
    awc: '0.32902609',
    awc600: '197.42 ',
  },
  {
    id: '37',
    lat: '37.46756887',
    lng: '114.9138419',
    residual_water_content: '0.413964156',
    saturated_water_content: '0.091500748',
    awc: '0.322463408',
    awc600: '193.48 ',
  },
  {
    id: '38',
    lat: '37.46776875',
    lng: '114.9141277',
    residual_water_content: '0.417375776',
    saturated_water_content: '0.085934776',
    awc: '0.331441001',
    awc600: '198.86 ',
  },
  {
    id: '39',
    lat: '37.46789913',
    lng: '114.914314',
    residual_water_content: '0.41503828',
    saturated_water_content: '0.091785859',
    awc: '0.323252421',
    awc600: '193.95 ',
  },
  {
    id: '40',
    lat: '37.4680045',
    lng: '114.9144647',
    residual_water_content: '0.41704994',
    saturated_water_content: '0.087243094',
    awc: '0.329806846',
    awc600: '197.88 ',
  },
  {
    id: '41',
    lat: '37.46809514',
    lng: '114.9145943',
    residual_water_content: '0.416829048',
    saturated_water_content: '0.086493944',
    awc: '0.330335104',
    awc600: '198.20 ',
  },
  {
    id: '42',
    lat: '37.46817621',
    lng: '114.9147102',
    residual_water_content: '0.414367938',
    saturated_water_content: '0.092646707',
    awc: '0.321721231',
    awc600: '193.03 ',
  },
  {
    id: '43',
    lat: '37.46779438',
    lng: '114.9150011',
    residual_water_content: '0.416169499',
    saturated_water_content: '0.088766907',
    awc: '0.327402592',
    awc600: '196.44 ',
  },
  {
    id: '44',
    lat: '37.4677498',
    lng: '114.9148574',
    residual_water_content: '0.41381845',
    saturated_water_content: '0.09146586',
    awc: '0.32235259',
    awc600: '193.41 ',
  },
  {
    id: '45',
    lat: '37.46769994',
    lng: '114.9146967',
    residual_water_content: '0.415764046',
    saturated_water_content: '0.089825506',
    awc: '0.325938541',
    awc600: '195.56 ',
  },
  {
    id: '46',
    lat: '37.467642',
    lng: '114.91451',
    residual_water_content: '0.421094815',
    saturated_water_content: '0.078956333',
    awc: '0.342138482',
    awc600: '205.28 ',
  },
  {
    id: '47',
    lat: '37.4675703',
    lng: '114.9142789',
    residual_water_content: '0.415280224',
    saturated_water_content: '0.090495549',
    awc: '0.324784675',
    awc600: '194.87 ',
  },
  {
    id: '48',
    lat: '37.46746037',
    lng: '114.9139246',
    residual_water_content: '0.415266591',
    saturated_water_content: '0.09017041',
    awc: '0.325096181',
    awc600: '195.06 ',
  },
  {
    id: '49',
    lat: '37.46733588',
    lng: '114.9139557',
    residual_water_content: '0.415939104',
    saturated_water_content: '0.088113372',
    awc: '0.327825732',
    awc600: '196.70 ',
  },
  {
    id: '50',
    lat: '37.46734259',
    lng: '114.9143358',
    residual_water_content: '0.415815767',
    saturated_water_content: '0.088537431',
    awc: '0.327278336',
    awc600: '196.37 ',
  },
  {
    id: '51',
    lat: '37.46734697',
    lng: '114.9145837',
    residual_water_content: '0.415390069',
    saturated_water_content: '0.089898743',
    awc: '0.325491326',
    awc600: '195.29 ',
  },
  {
    id: '52',
    lat: '37.4673505',
    lng: '114.9147841',
    residual_water_content: '0.415788267',
    saturated_water_content: '0.089231468',
    awc: '0.326556799',
    awc600: '195.93 ',
  },
  {
    id: '53',
    lat: '37.46735354',
    lng: '114.9149564',
    residual_water_content: '0.417095586',
    saturated_water_content: '0.086181672',
    awc: '0.330913914',
    awc600: '198.55 ',
  },
  {
    id: '54',
    lat: '37.46735627',
    lng: '114.9151106',
    residual_water_content: '0.417086572',
    saturated_water_content: '0.085877606',
    awc: '0.331208966',
    awc600: '198.73 ',
  },
  {
    id: '55',
    lat: '37.46691472',
    lng: '114.9150255',
    residual_water_content: '0.411166132',
    saturated_water_content: '0.09942507',
    awc: '0.311741062',
    awc600: '187.04 ',
  },
  {
    id: '56',
    lat: '37.46695419',
    lng: '114.9148795',
    residual_water_content: '0.413569556',
    saturated_water_content: '0.092830026',
    awc: '0.32073953',
    awc600: '192.44 ',
  },
  {
    id: '57',
    lat: '37.46699832',
    lng: '114.9147162',
    residual_water_content: '0.41586372',
    saturated_water_content: '0.088119381',
    awc: '0.32774434',
    awc600: '196.65 ',
  },
  {
    id: '58',
    lat: '37.46704962',
    lng: '114.9145264',
    residual_water_content: '0.417879588',
    saturated_water_content: '0.085769754',
    awc: '0.332109835',
    awc600: '199.27 ',
  },
  {
    id: '59',
    lat: '37.46711309',
    lng: '114.9142916',
    residual_water_content: '0.415459683',
    saturated_water_content: '0.089309101',
    awc: '0.326150582',
    awc600: '195.69 ',
  },
  {
    id: '60',
    lat: '37.46721041',
    lng: '114.9139315',
    residual_water_content: '0.410682326',
    saturated_water_content: '0.09954791',
    awc: '0.311134416',
    awc600: '186.68 ',
  },
  {
    id: '61',
    lat: '37.4670991',
    lng: '114.9138549',
    residual_water_content: '0.414908057',
    saturated_water_content: '0.090217691',
    awc: '0.324690366',
    awc600: '194.81 ',
  },
  {
    id: '62',
    lat: '37.46690949',
    lng: '114.9141515',
    residual_water_content: '0.416242104',
    saturated_water_content: '0.087619177',
    awc: '0.328622927',
    awc600: '197.17 ',
  },
  {
    id: '63',
    lat: '37.46678582',
    lng: '114.914345',
    residual_water_content: '0.414023629',
    saturated_water_content: '0.092754872',
    awc: '0.321268757',
    awc600: '192.76 ',
  },
  {
    id: '64',
    lat: '37.46668588',
    lng: '114.9145013',
    residual_water_content: '0.4175057',
    saturated_water_content: '0.084515079',
    awc: '0.332990621',
    awc600: '199.79 ',
  },
  {
    id: '65',
    lat: '37.46659989',
    lng: '114.9146358',
    residual_water_content: '0.415514035',
    saturated_water_content: '0.089118008',
    awc: '0.326396027',
    awc600: '195.84 ',
  },
  {
    id: '66',
    lat: '37.46652299',
    lng: '114.9147561',
    residual_water_content: '0.417228461',
    saturated_water_content: '0.08477646',
    awc: '0.332452001',
    awc600: '199.47 ',
  },
  {
    id: '67',
    lat: '37.46622834',
    lng: '114.9143349',
    residual_water_content: '0.416368698',
    saturated_water_content: '0.088009424',
    awc: '0.328359273',
    awc600: '197.02 ',
  },
  {
    id: '68',
    lat: '37.46633339',
    lng: '114.9142548',
    residual_water_content: '0.416832111',
    saturated_water_content: '0.08673614',
    awc: '0.33009597',
    awc600: '198.06 ',
  },
  {
    id: '69',
    lat: '37.46645086',
    lng: '114.9141653',
    residual_water_content: '0.415613937',
    saturated_water_content: '0.090271668',
    awc: '0.325342269',
    awc600: '195.21 ',
  },
  {
    id: '70',
    lat: '37.46658739',
    lng: '114.9140613',
    residual_water_content: '0.41610077',
    saturated_water_content: '0.087547097',
    awc: '0.328553673',
    awc600: '197.13 ',
  },
  {
    id: '71',
    lat: '37.46675634',
    lng: '114.9139326',
    residual_water_content: '0.416213833',
    saturated_water_content: '0.087301916',
    awc: '0.328911918',
    awc600: '197.35 ',
  },
  {
    id: '72',
    lat: '37.46701537',
    lng: '114.9137352',
    residual_water_content: '0.41390216',
    saturated_water_content: '0.092571295',
    awc: '0.321330865',
    awc600: '192.80 ',
  },
  {
    id: '73',
    lat: '37.46696932',
    lng: '114.9135868',
    residual_water_content: '0.415758812',
    saturated_water_content: '0.088554694',
    awc: '0.327204118',
    awc600: '196.32 ',
  },
  {
    id: '74',
    lat: '37.46667211',
    lng: '114.9136611',
    residual_water_content: '0.414842145',
    saturated_water_content: '0.090919688',
    awc: '0.323922457',
    awc600: '194.35 ',
  },
  {
    id: '75',
    lat: '37.46647826',
    lng: '114.9137096',
    residual_water_content: '0.415477605',
    saturated_water_content: '0.090023299',
    awc: '0.325454306',
    awc600: '195.27 ',
  },
  {
    id: '76',
    lat: '37.4663216',
    lng: '114.9137488',
    residual_water_content: '0.414080103',
    saturated_water_content: '0.091537537',
    awc: '0.322542566',
    awc600: '193.53 ',
  },
  {
    id: '77',
    lat: '37.46618683',
    lng: '114.9137825',
    residual_water_content: '0.416022835',
    saturated_water_content: '0.088948133',
    awc: '0.327074702',
    awc600: '196.24 ',
  },
  {
    id: '78',
    lat: '37.46606629',
    lng: '114.9138126',
    residual_water_content: '0.415140678',
    saturated_water_content: '0.091158426',
    awc: '0.323982253',
    awc600: '194.39 ',
  },
  {
    id: '79',
    lat: '37.46605639',
    lng: '114.9132523',
    residual_water_content: '0.41536691',
    saturated_water_content: '0.089783855',
    awc: '0.325583055',
    awc600: '195.35 ',
  },
  {
    id: '80',
    lat: '37.46617787',
    lng: '114.9132757',
    residual_water_content: '0.411912593',
    saturated_water_content: '0.09586152',
    awc: '0.316051073',
    awc600: '189.63 ',
  },
  {
    id: '81',
    lat: '37.46631371',
    lng: '114.9133019',
    residual_water_content: '0.414929994',
    saturated_water_content: '0.091354994',
    awc: '0.323575001',
    awc600: '194.15 ',
  },
  {
    id: '82',
    lat: '37.4664716',
    lng: '114.9133323',
    residual_water_content: '0.41501616',
    saturated_water_content: '0.091463148',
    awc: '0.323553012',
    awc600: '194.13 ',
  },
  {
    id: '83',
    lat: '37.46666697',
    lng: '114.9133699',
    residual_water_content: '0.413317342',
    saturated_water_content: '0.093454694',
    awc: '0.319862649',
    awc600: '191.92 ',
  },
  {
    id: '84',
    lat: '37.4669665',
    lng: '114.9134276',
    residual_water_content: '0.411981362',
    saturated_water_content: '0.09659674',
    awc: '0.315384622',
    awc600: '189.23 ',
  },
  {
    id: '85',
    lat: '37.46700727',
    lng: '114.9132768',
    residual_water_content: '0.414644323',
    saturated_water_content: '0.091939328',
    awc: '0.322704995',
    awc600: '193.62 ',
  },
  {
    id: '86',
    lat: '37.46674153',
    lng: '114.913094',
    residual_water_content: '0.418090385',
    saturated_water_content: '0.085170708',
    awc: '0.332919677',
    awc600: '199.75 ',
  },
  {
    id: '87',
    lat: '37.4665682',
    lng: '114.9129748',
    residual_water_content: '0.415112857',
    saturated_water_content: '0.09033922',
    awc: '0.324773637',
    awc600: '194.86 ',
  },
  {
    id: '88',
    lat: '37.46642813',
    lng: '114.9128785',
    residual_water_content: '0.415578929',
    saturated_water_content: '0.089140229',
    awc: '0.3264387',
    awc600: '195.86 ',
  },
  {
    id: '89',
    lat: '37.46630761',
    lng: '114.9127956',
    residual_water_content: '0.413631754',
    saturated_water_content: '0.092168269',
    awc: '0.321463485',
    awc600: '192.88 ',
  },
  {
    id: '90',
    lat: '37.46619984',
    lng: '114.9127215',
    residual_water_content: '0.413796391',
    saturated_water_content: '0.09203877',
    awc: '0.32175762',
    awc600: '193.05 ',
  },
  {
    id: '91',
    lat: '37.46647933',
    lng: '114.9122843',
    residual_water_content: '0.417177248',
    saturated_water_content: '0.084908217',
    awc: '0.332269031',
    awc600: '199.36 ',
  },
  {
    id: '92',
    lat: '37.4665604',
    lng: '114.9124002',
    residual_water_content: '0.41775549',
    saturated_water_content: '0.08435606',
    awc: '0.333399429',
    awc600: '200.04 ',
  },
  {
    id: '93',
    lat: '37.46665105',
    lng: '114.9125298',
    residual_water_content: '0.418463298',
    saturated_water_content: '0.082244177',
    awc: '0.336219121',
    awc600: '201.73 ',
  },
  {
    id: '94',
    lat: '37.46675642',
    lng: '114.9126804',
    residual_water_content: '0.416108662',
    saturated_water_content: '0.086177148',
    awc: '0.329931514',
    awc600: '197.96 ',
  },
  {
    id: '95',
    lat: '37.4668868',
    lng: '114.9128668',
    residual_water_content: '0.41490365',
    saturated_water_content: '0.08831877',
    awc: '0.32658488',
    awc600: '195.95 ',
  },
  {
    id: '96',
    lat: '37.46708669',
    lng: '114.9131526',
    residual_water_content: '0.41443634',
    saturated_water_content: '0.089659368',
    awc: '0.324776973',
    awc600: '194.87 ',
  },
  {
    id: '97',
    lat: '37.46719519',
    lng: '114.9130699',
    residual_water_content: '0.41706267',
    saturated_water_content: '0.086196151',
    awc: '0.330866519',
    awc600: '198.52 ',
  },
  {
    id: '98',
    lat: '37.46708525',
    lng: '114.9127156',
    residual_water_content: '0.417995304',
    saturated_water_content: '0.083640093',
    awc: '0.33435521',
    awc600: '200.61 ',
  },
  {
    id: '99',
    lat: '37.46701355',
    lng: '114.9124845',
    residual_water_content: '0.419814855',
    saturated_water_content: '0.081302292',
    awc: '0.338512563',
    awc600: '203.11 ',
  },
  {
    id: '100',
    lat: '37.4669556',
    lng: '114.9122978',
    residual_water_content: '0.414589351',
    saturated_water_content: '0.090492784',
    awc: '0.324096567',
    awc600: '194.46 ',
  },
  {
    id: '101',
    lat: '37.46690575',
    lng: '114.9121371',
    residual_water_content: '0.414719096',
    saturated_water_content: '0.089648306',
    awc: '0.32507079',
    awc600: '195.04 ',
  },
  {
    id: '102',
    lat: '37.46686116',
    lng: '114.9119934',
    residual_water_content: '0.414020882',
    saturated_water_content: '0.092910284',
    awc: '0.321110599',
    awc600: '192.67 ',
  },
  {
    id: '103',
    lat: '37.46729927',
    lng: '114.9118838',
    residual_water_content: '0.41604076',
    saturated_water_content: '0.088777685',
    awc: '0.327263075',
    awc600: '196.36 ',
  },
  {
    id: '104',
    lat: '37.46730199',
    lng: '114.912038',
    residual_water_content: '0.412780488',
    saturated_water_content: '0.093671539',
    awc: '0.319108949',
    awc600: '191.47 ',
  },
  {
    id: '105',
    lat: '37.46730504',
    lng: '114.9122104',
    residual_water_content: '0.41600278',
    saturated_water_content: '0.089271425',
    awc: '0.326731355',
    awc600: '196.04 ',
  },
  {
    id: '106',
    lat: '37.46730858',
    lng: '114.9124107',
    residual_water_content: '0.415531024',
    saturated_water_content: '0.089782108',
    awc: '0.325748916',
    awc600: '195.45 ',
  },
  {
    id: '107',
    lat: '37.46731296',
    lng: '114.9126587',
    residual_water_content: '0.413528697',
    saturated_water_content: '0.092259227',
    awc: '0.32126947',
    awc600: '192.76 ',
  },
  {
    id: '108',
    lat: '37.46731968',
    lng: '114.9130388',
    residual_water_content: '0.416062639',
    saturated_water_content: '0.088043994',
    awc: '0.328018645',
    awc600: '196.81 ',
  },
]

export const boundaries = [
  [114.91004, 37.4688546],
  [114.916992, 37.4691442],
  [114.917003, 37.4646298],
  [114.910641, 37.4644594],
]

export const cellsSprinkler = [
  {
    serialno: '0110.0007.2027000724',
    name: '1-1',
    id: 1,
    idx: 1,
    disstart: 0,
    disend: 50.5,
    argstart: 0,
    argend: 60,
    spstart: 1,
    spend: 20,
    color: 'rgba(225, 183, 225, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 0,
      stopAngle: '60.0',
      radius: 50.5,
      color: 'rgba(225, 183, 225, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '1-2',
    id: 1,
    idx: 2,
    disstart: 53,
    disend: 113.6,
    argstart: 0,
    argend: 60,
    spstart: 21,
    spend: 45,
    color: 'rgba(204, 142, 231, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 0,
      stopAngle: '60.0',
      radius: 113.6,
      color: 'rgba(204, 142, 231, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '1-3',
    id: 1,
    idx: 3,
    disstart: 116.2,
    disend: 149,
    argstart: 0,
    argend: 60,
    spstart: 46,
    spend: 59,
    color: 'rgba(155, 48, 194, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 0,
      stopAngle: '60.0',
      radius: 149,
      color: 'rgba(155, 48, 194, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '2-1',
    id: 2,
    idx: 1,
    disstart: 0,
    disend: 37.9,
    argstart: 60,
    argend: 120,
    spstart: 1,
    spend: 15,
    color: 'rgba(173, 238, 198, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 60,
      stopAngle: '120.0',
      radius: 37.9,
      color: 'rgba(173, 238, 198, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '2-2',
    id: 2,
    idx: 2,
    disstart: 40.4,
    disend: 60.6,
    argstart: 60,
    argend: 120,
    spstart: 16,
    spend: 24,
    color: 'rgba(98, 221, 153, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 60,
      stopAngle: '120.0',
      radius: 60.6,
      color: 'rgba(98, 221, 153, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '2-3',
    id: 2,
    idx: 3,
    disstart: 63.1,
    disend: 98.5,
    argstart: 60,
    argend: 120,
    spstart: 25,
    spend: 39,
    color: 'rgba(63, 181, 77, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 60,
      stopAngle: '120.0',
      radius: 98.5,
      color: 'rgba(63, 181, 77, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '2-4',
    id: 2,
    idx: 4,
    disstart: 101,
    disend: 149,
    argstart: 60,
    argend: 120,
    spstart: 40,
    spend: 59,
    color: 'rgba(37, 160, 35, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 60,
      stopAngle: '120.0',
      radius: 149,
      color: 'rgba(37, 160, 35, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '3-1',
    id: 3,
    idx: 1,
    disstart: 0,
    disend: 70.7,
    argstart: 120,
    argend: 180,
    spstart: 1,
    spend: 28,
    color: 'rgba(235, 170, 225, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 120,
      stopAngle: '180.0',
      radius: 70.7,
      color: 'rgba(235, 170, 225, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '3-2',
    id: 3,
    idx: 2,
    disstart: 73.2,
    disend: 101,
    argstart: 120,
    argend: 180,
    spstart: 29,
    spend: 40,
    color: 'rgba(226, 108, 237, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 120,
      stopAngle: '180.0',
      radius: 101,
      color: 'rgba(226, 108, 237, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '3-3',
    id: 3,
    idx: 3,
    disstart: 103.5,
    disend: 131.3,
    argstart: 120,
    argend: 180,
    spstart: 41,
    spend: 52,
    color: 'rgba(195, 74, 239, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 120,
      stopAngle: '180.0',
      radius: 131.3,
      color: 'rgba(195, 74, 239, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '3-4',
    id: 3,
    idx: 4,
    disstart: 133.8,
    disend: 149,
    argstart: 120,
    argend: 180,
    spstart: 53,
    spend: 59,
    color: 'rgba(147, 4, 176, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 120,
      stopAngle: '180.0',
      radius: 149,
      color: 'rgba(147, 4, 176, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '4-1',
    id: 4,
    idx: 1,
    disstart: 0,
    disend: 73.2,
    argstart: 300,
    argend: 360,
    spstart: 1,
    spend: 29,
    color: 'rgba(25, 149, 133, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 300,
      stopAngle: '360.0',
      radius: 73.2,
      color: 'rgba(25, 149, 133, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '4-2',
    id: 4,
    idx: 2,
    disstart: 75.8,
    disend: 149,
    argstart: 300,
    argend: 360,
    spstart: 30,
    spend: 59,
    color: '#66b1ff',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 300,
      stopAngle: '360.0',
      radius: 149,
      color: '#66b1ff',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '5-1',
    id: 5,
    idx: 1,
    disstart: 0,
    disend: 15.2,
    argstart: 180,
    argend: 200,
    spstart: 1,
    spend: 6,
    color: 'rgba(159, 193, 239, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 180,
      stopAngle: '200.0',
      radius: 15.2,
      color: 'rgba(159, 193, 239, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '5-2',
    id: 5,
    idx: 2,
    disstart: 17.7,
    disend: 45.5,
    argstart: 180,
    argend: 200,
    spstart: 7,
    spend: 18,
    color: 'rgba(87, 161, 221, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 180,
      stopAngle: '200.0',
      radius: 45.5,
      color: 'rgba(87, 161, 221, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '5-3',
    id: 5,
    idx: 3,
    disstart: 48,
    disend: 75.8,
    argstart: 180,
    argend: 200,
    spstart: 19,
    spend: 30,
    color: 'rgba(99, 135, 245, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 180,
      stopAngle: '200.0',
      radius: 75.8,
      color: 'rgba(99, 135, 245, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '5-4',
    id: 5,
    idx: 4,
    disstart: 78.3,
    disend: 106,
    argstart: 180,
    argend: 200,
    spstart: 31,
    spend: 42,
    color: 'rgba(63, 73, 193, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 180,
      stopAngle: '200.0',
      radius: 106,
      color: 'rgba(63, 73, 193, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '5-5',
    id: 5,
    idx: 5,
    disstart: 108.6,
    disend: 126.2,
    argstart: 180,
    argend: 200,
    spstart: 43,
    spend: 50,
    color: 'rgba(31, 98, 205, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 180,
      stopAngle: '200.0',
      radius: 126.2,
      color: 'rgba(31, 98, 205, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '5-6',
    id: 5,
    idx: 6,
    disstart: 128.8,
    disend: 149,
    argstart: 180,
    argend: 200,
    spstart: 51,
    spend: 59,
    color: 'rgba(6, 50, 181, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 180,
      stopAngle: '200.0',
      radius: 149,
      color: 'rgba(6, 50, 181, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '6-1',
    id: 6,
    idx: 1,
    disstart: 0,
    disend: 20.2,
    argstart: 200,
    argend: 220,
    spstart: 1,
    spend: 8,
    color: 'rgba(206, 235, 242, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 200,
      stopAngle: '220.0',
      radius: 20.2,
      color: 'rgba(206, 235, 242, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '6-2',
    id: 6,
    idx: 2,
    disstart: 22.7,
    disend: 50.5,
    argstart: 200,
    argend: 220,
    spstart: 9,
    spend: 20,
    color: 'rgba(171, 244, 236, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 200,
      stopAngle: '220.0',
      radius: 50.5,
      color: 'rgba(171, 244, 236, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '6-3',
    id: 6,
    idx: 3,
    disstart: 53,
    disend: 80.8,
    argstart: 200,
    argend: 220,
    spstart: 21,
    spend: 32,
    color: 'rgba(112, 217, 244, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 200,
      stopAngle: '220.0',
      radius: 80.8,
      color: 'rgba(112, 217, 244, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '6-4',
    id: 6,
    idx: 4,
    disstart: 83.3,
    disend: 113.6,
    argstart: 200,
    argend: 220,
    spstart: 33,
    spend: 45,
    color: 'rgba(61, 224, 213, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 200,
      stopAngle: '220.0',
      radius: 113.6,
      color: 'rgba(61, 224, 213, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '6-5',
    id: 6,
    idx: 5,
    disstart: 116.2,
    disend: 149,
    argstart: 200,
    argend: 220,
    spstart: 46,
    spend: 59,
    color: 'rgba(6, 173, 167, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 200,
      stopAngle: '220.0',
      radius: 149,
      color: 'rgba(6, 173, 167, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '7-1',
    id: 7,
    idx: 1,
    disstart: 0,
    disend: 25.2,
    argstart: 220,
    argend: 240,
    spstart: 1,
    spend: 10,
    color: 'rgba(170, 230, 185, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 220,
      stopAngle: '240.0',
      radius: 25.2,
      color: 'rgba(170, 230, 185, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '7-2',
    id: 7,
    idx: 2,
    disstart: 27.8,
    disend: 50.5,
    argstart: 220,
    argend: 240,
    spstart: 11,
    spend: 20,
    color: 'rgba(96, 234, 172, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 220,
      stopAngle: '240.0',
      radius: 50.5,
      color: 'rgba(96, 234, 172, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '7-3',
    id: 7,
    idx: 3,
    disstart: 53,
    disend: 75.8,
    argstart: 220,
    argend: 240,
    spstart: 21,
    spend: 30,
    color: 'rgba(39, 228, 137, 0.89)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 220,
      stopAngle: '240.0',
      radius: 75.8,
      color: 'rgba(39, 228, 137, 0.89)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '7-4',
    id: 7,
    idx: 4,
    disstart: 78.3,
    disend: 101,
    argstart: 220,
    argend: 240,
    spstart: 31,
    spend: 40,
    color: 'rgba(37, 191, 150, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 220,
      stopAngle: '240.0',
      radius: 101,
      color: 'rgba(37, 191, 150, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '7-5',
    id: 7,
    idx: 5,
    disstart: 103.5,
    disend: 126.2,
    argstart: 220,
    argend: 240,
    spstart: 41,
    spend: 50,
    color: 'rgba(11, 149, 117, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 220,
      stopAngle: '240.0',
      radius: 126.2,
      color: 'rgba(11, 149, 117, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '7-6',
    id: 7,
    idx: 6,
    disstart: 128.8,
    disend: 149,
    argstart: 220,
    argend: 240,
    spstart: 51,
    spend: 59,
    color: 'rgba(7, 103, 44, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 220,
      stopAngle: '240.0',
      radius: 149,
      color: 'rgba(7, 103, 44, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '8-1',
    id: 8,
    idx: 1,
    disstart: 0,
    disend: 37.9,
    argstart: 240,
    argend: 260,
    spstart: 1,
    spend: 15,
    color: 'rgba(241, 182, 234, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 240,
      stopAngle: '260.0',
      radius: 37.9,
      color: 'rgba(241, 182, 234, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '8-2',
    id: 8,
    idx: 2,
    disstart: 40.4,
    disend: 63.1,
    argstart: 240,
    argend: 260,
    spstart: 16,
    spend: 25,
    color: 'rgba(227, 151, 242, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 240,
      stopAngle: '260.0',
      radius: 63.1,
      color: 'rgba(227, 151, 242, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '8-3',
    id: 8,
    idx: 3,
    disstart: 65.7,
    disend: 101,
    argstart: 240,
    argend: 260,
    spstart: 26,
    spend: 40,
    color: 'rgba(185, 95, 237, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 240,
      stopAngle: '260.0',
      radius: 101,
      color: 'rgba(185, 95, 237, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '8-4',
    id: 8,
    idx: 4,
    disstart: 103.5,
    disend: 149,
    argstart: 240,
    argend: 260,
    spstart: 41,
    spend: 59,
    color: 'rgba(153, 0, 255, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 240,
      stopAngle: '260.0',
      radius: 149,
      color: 'rgba(153, 0, 255, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '9-1',
    id: 9,
    idx: 1,
    disstart: 0,
    disend: 50.5,
    argstart: 260,
    argend: 280,
    spstart: 1,
    spend: 20,
    color: 'rgba(140, 179, 221, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 260,
      stopAngle: '280.0',
      radius: 50.5,
      color: 'rgba(140, 179, 221, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '9-2',
    id: 9,
    idx: 2,
    disstart: 53,
    disend: 101,
    argstart: 260,
    argend: 280,
    spstart: 21,
    spend: 40,
    color: 'rgba(106, 139, 239, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 260,
      stopAngle: '280.0',
      radius: 101,
      color: 'rgba(106, 139, 239, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '9-3',
    id: 9,
    idx: 3,
    disstart: 103.5,
    disend: 149,
    argstart: 260,
    argend: 280,
    spstart: 41,
    spend: 59,
    color: 'rgba(52, 91, 191, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 260,
      stopAngle: '280.0',
      radius: 149,
      color: 'rgba(52, 91, 191, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '10-1',
    id: 10,
    idx: 1,
    disstart: 0,
    disend: 37.9,
    argstart: 280,
    argend: 300,
    spstart: 1,
    spend: 15,
    color: 'rgba(38, 125, 21, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 280,
      stopAngle: '300.0',
      radius: 37.9,
      color: 'rgba(38, 125, 21, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '10-2',
    id: 10,
    idx: 2,
    disstart: 40.4,
    disend: 88.4,
    argstart: 280,
    argend: 300,
    spstart: 16,
    spend: 35,
    color: 'rgba(32, 50, 193, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 280,
      stopAngle: '300.0',
      radius: 88.4,
      color: 'rgba(32, 50, 193, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
  {
    serialno: '0110.0007.2027000724',
    name: '10-3',
    id: 10,
    idx: 3,
    disstart: 90.9,
    disend: 149,
    argstart: 280,
    argend: 300,
    spstart: 36,
    spend: 59,
    color: 'rgba(230, 53, 18, 1)',
    location: [37.467294, 114.913504],
    options: {
      startAngle: 280,
      stopAngle: '300.0',
      radius: 149,
      color: 'rgba(230, 53, 18, 1)',
      fillOpacity: 0.6,
      weight: 1,
    },
  },
]

export const levelV = [
  {
    step: 1,
    lower: 0,
    upper: '0.33',
    color: '#67c23a',
    active: 0,
  },
  {
    step: 2,
    lower: '0.33',
    upper: '0.67',
    color: '#FFBA00',
    active: 1,
  },
  {
    step: 3,
    lower: '0.67',
    upper: 1,
    color: '#f20',
    active: 0,
  },
]

import { generateRandStr } from '@/utils'
export const mqttConnection = {
  host: 'www.zesi.com.cn',
  port: 443,
  endpoint: '/mqtt',
  clean: true, // 保留会话
  connectTimeout: 4000, // 超时时间
  reconnectPeriod: 4000, // 重连时间间隔
  // 认证信息
  clientId: 'mqttjs_3be2c321' + generateRandStr(),
  username: 'user',
  password: 'Dev1"3$5',
}

export const dclassCodeMap = {
  sb: 3,
  pg: 4,
  dg: 5,
  sf: 6,
  qxz: 7,
  sqz: 8,
  fm: 13,
  fkq: 14,
  gcwd: 15,
  gd: 16,
  gps: 17,
  ndvi: 18,
  zypz: 19,
  zyp: 20,
  ylj: 21,
  llj: 22,
  czsb: 23,
  cqz: 26,
  df: 30,
  blg: 31,
  zk: 90,
  gdgcwd: 96,
  fdj: 97,
  db: 98,
  spjk: 99,
  wg: 100,
  qf: 101,
  hjjc: 102,
}
export const dclassMap = {
  3: {
    name: '水泵',
    code: 'sb',
  },
  4: {
    name: '喷灌机',
    code: 'pg',
  },
  5: {
    name: '滴灌',
    code: 'dg',
  },
  6: {
    name: '施肥机',
    code: 'sf',
  },
  7: {
    name: '气象站',
    code: 'qxz',
  },
  8: {
    name: '墒情站',
    code: 'sqz',
  },
  13: {
    name: '阀门',
    code: 'fm',
  },
  14: {
    name: '阀控器',
    code: 'fkq',
  },
  15: {
    name: '冠层温度',
    code: 'gcwd',
  },
  16: {
    name: '高度',
    code: 'gd',
  },
  17: {
    name: '定位装置',
    code: 'gps',
  },
  18: {
    name: 'NDVI',
    code: 'ndvi',
  },
  19: {
    name: '遮雨篷组',
    code: 'zypz',
  },
  20: {
    name: '遮雨篷',
    code: 'zyp',
  },
  21: {
    name: '雨量计',
    code: 'ylj',
  },
  22: {
    name: '流量计',
    code: 'llj',
  },
  23: {
    name: '车载终端',
    code: 'czsb',
  },
  26: {
    name: '虫情站',
    code: 'cqz',
  },
  30: {
    name: '蝶阀',
    code: 'df',
  },
  31: {
    name: '变量灌',
    code: 'blg',
  },
  90: {
    name: '闸控',
    code: 'zk',
  },
  96: {
    name: '固定冠层温度',
    code: 'gdgcwd',
  },
  97: {
    name: '发电机',
    code: 'fdj',
  },
  98: {
    name: '电表',
    code: 'db',
  },
  99: {
    name: '视频监控',
    code: 'spjk',
  },
  100: {
    name: '网关',
    code: 'wg',
  },
  101: {
    name: '球阀',
    code: 'qf',
  },
  102: {
    name: '气敏传感器',
    code: 'hjjc',
  },
}

export const resourceBaseUrl = 'https://img.intelirri.com/device/'

export const runDict = [
  '打开',
  '启动',
  '正常',
  '运行',
  '是',
  '开启',
  '脉冲模式',
]
export const closeDict = ['关闭', '停止', '报警', '故障', '否', '普通模式']

export const token =
  'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC93d3cuaW50ZWxpcnJpLmNvbSIsImF1ZCI6ImludGVsaXJyaSIsImlhdCI6MTcyNTMzMTg4NCwiZXhwIjoxNzU2ODY3ODg0LCJpbmZvcyI6eyJ1aWQiOjEyLCJ1bmFtZSI6Ilx1NTkyOVx1OTA1M1x1OTE2Y1x1NTJlNCIsInNjb3BlIjozMn19.1g4tt0knLGGd1bDSuwFtJ-tX5E6XcasbQCvLeRxbVk0'

export const fieldId = 6

export const irrTypes = [
  { value: 0, name: '均一灌溉', type: 'error' },
  { value: 1, name: '手动变量灌溉', type: 'primary' },
  { value: 2, name: '自动变量灌溉', type: 'success' },
]
